#include <boost/config.hpp>
#include <vector>
#include <string>
#include <boost/graph/adjacency_list.hpp>
#include <boost/tuple/tuple.hpp>
#include "station.h"
#include "../colliding-trains/data.h"
#include "railway.h"


CRailway::CRailway(void)
{
	clear();
}


CRailway::~CRailway(void)
{
	stationiterator it = begin();
	while(it != end())
	{
		CStation *st = *it;
		delete(st);
		it++;
	}
}

void CRailway::addStation(CStation * station)
{
	push_back(reinterpret_cast<CStation *>(station));
}